package recipe;

import common.db.DBExecute;
import common.main.MainBean;

public class RecipeViewBean extends MainBean
{
	public void funcExecute() throws Exception
	{	
		String seq = (String)inputTable.get("seq");
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("SELECT SEQ, TITLE, CONTENT, GNO, RECOMMEND, COUNT, REG_ID, REG_DATE, REG_IP");
		queryBuffer.append(", UPD_ID, UPD_DATE ");
		queryBuffer.append("FROM RECIPE ");
		queryBuffer.append("WHERE SEQ='"+seq+"' AND USE_YN='Y' ");	
		
		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
